<?php
/**
 * Created by PhpStorm.
 * User: CYF
 * Date: 2018/1/30
 * Time: 0:16
 * 基类
 */

namespace Think\Model;
use Think\Model\RelationModel;
use Think\Event\BaseEvent;
class BaseModel extends RelationModel{


    protected $tea_id;
    protected $event;
    function _initialize(){
        $this->tea_id = session(C('USER_AUTH_KEY'));
        $this->event = $this->event = new BaseEvent();
    }





}